<?php


return [
    [
        'name' => 'bus_state',
        'title' => '是否开启公交/地铁出行方式',
        'component' => 'switches',
        'value' => 0,
        'extra'         => [
            'props' => [
                'activeValue' => 1,
                'inactiveValue' => 0,
                'activeText' => '开启',
                'inactiveText' => '关闭',
            ]
        ]
    ],
    [
        'name' => 'bus_price',
        'title' => '公交/地铁出行价格',
        'component' => 'number',
        'value' => null,
        'extra' => [
            'props' => [
                'min' => 0,
                'precision' => 2,
                'controls' => false
            ]
        ]
    ],
    [
        'name' => 'bus_time',
        'title' => '公交/地铁出行时间',
        'component' => 'time',
        'value' => '',
        'extra' => [
            'col' => 6,
            'props' => [
                'is-range' => true,
                'arrow-control' => true,
                'start-placeholder' => "起始时间",
                'end-placeholder' => "结束时间"
            ]
        ]
    ],
    [
        'name' => 'bus_commuting',
        'title' => '公交/地铁每公里通勤时间(分钟)',
        'component' => 'number',
        'value' => '',
        'extra' => [
            'props' => [
                'min' => 0,
                'precision' => 0,
                'controls' => false
            ]
        ]
    ],
    [
        'name' => 'taxi_state',
        'title' => '是否开启出租车出行方式',
        'component' => 'switches',
        'value' => 0,
        'extra'         => [
            'props' => [
                'activeValue' => 1,
                'inactiveValue' => 0,
                'activeText' => '开启',
                'inactiveText' => '关闭'
            ]
        ]
    ],
    [
        'name' => 'taxi_start_distance',
        'title' => '出租车出行起步距离(千米)',
        'component' => 'number',
        'value' => null,
        'extra' => [
            'props' => [
                'min' => 0,
                'precision' => 2,
                'controls' => false
            ]
        ]
    ],
    [
        'name' => 'taxi_start_price',
        'title' => '出租车出行起步价格',
        'component' => 'number',
        'value' => null,
        'extra' => [
            'props' => [
                'min' => 0,
                'precision' => 2,
                'controls' => false
            ]
        ]
    ],
    [
        'name' => 'taxi_mileage_price',
        'title' => '出租车出行里程价格(元/千米)',
        'component' => 'number',
        'value' => null,
        'extra' => [
            'props' => [
                'min' => 0,
                'precision' => 2,
                'controls' => false
            ]
        ]
    ],
    [
        'name' => 'taxi_virtually_mileage',
        'title' => '出租车出行虚拟里程(%)',
        'component' => 'number',
        'value' => null,
        'extra' => [
            'props' => [
                'min' => 0,
                'precision' => 0,
                'controls' => false
            ]
        ]
    ],
    [
        'name' => 'taxi_commuting',
        'title' => '出租车每公里通勤时间(分钟)',
        'component' => 'number',
        'value' => '',
        'extra' => [
            'props' => [
                'min' => 0,
                'precision' => 0,
                'controls' => false
            ]
        ]
    ],
];
